package com.kgame5.xtank3d.effect.myemitters {
import kgame5.k3d.core.obj3d.node3d.Node3D;

import com.kgame5.xtank3d.C;
import com.kgame5.xtank3d.effect.MyEmitter;
import com.kgame5.xtank3d.resource.ResourceManagerX;

/**
 * @author kk
 * 蓄力的时候的动画
 * ~~已经废止
 */
public class CollPowerEmitter  extends MyEmitter {
	
	public function CollPowerEmitter(lifeMS:int) {
		//todo提到ResManger中去！
		var md:Node3D=ResourceManagerX.getInstance().getCollPower();
		
		md.life=lifeMS/ 1000 * C.FRAME_RATE;
		
		md_g.addChild(md);
	}
}//end of class
}
